object FEmissaoCobranca: TFEmissaoCobranca
  Left = 460
  Top = 186
  BorderStyle = bsDialog
  Caption = 'Emissao de Cobran'#231'a'
  ClientHeight = 307
  ClientWidth = 350
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  KeyPreview = True
  OldCreateOrder = False
  Position = poDesktopCenter
  OnClose = FormClose
  OnCreate = FormCreate
  OnKeyPress = FormKeyPress
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object Label4: TLabel
    Left = 3
    Top = 100
    Width = 129
    Height = 13
    Caption = 'Configura'#231#227'o da Impress'#227'o'
  end
  object Label5: TLabel
    Left = 298
    Top = 48
    Width = 46
    Height = 13
    Caption = 'Desconto'
  end
  object Panel2: TPanel
    Left = 0
    Top = 0
    Width = 350
    Height = 41
    Align = alTop
    TabOrder = 0
    object BtnConsultar: TBitBtn
      Left = 5
      Top = 8
      Width = 76
      Height = 25
      Caption = '&Consultar'
      TabOrder = 0
      OnClick = BtnConsultarClick
      Glyph.Data = {
        66010000424D6601000000000000760000002800000014000000140000000100
        040000000000F000000000000000000000001000000010000000000000000000
        8000008000000080800080000000800080008080000080808000C0C0C0000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
        3333333300003333333333333333333300003333333330033003300300003333
        3333300330033003000033303333333333333333000033000333333333333333
        000030F000333333333333330000330F000333333333333300003330F0000000
        73333333000033330F0078887033333300003333300788FF8703333300003333
        30788888F877333300003333308888888F80333300003333307888888F803333
        000033333078FF8888803333000033333777FF88887733330000333333077888
        8703333300003333333077777033333300003333333370007333333300003333
        33333333333333330000}
    end
    object BtnLimpar: TBitBtn
      Left = 85
      Top = 8
      Width = 73
      Height = 25
      Caption = '&Limpar'
      TabOrder = 1
      OnClick = BtnLimparClick
      Glyph.Data = {
        42010000424D4201000000000000760000002800000011000000110000000100
        040000000000CC00000000000000000000001000000010000000000000000000
        BF0000BF000000BFBF00BF000000BF00BF00BFBF0000C0C0C000808080000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00777777777777
        7777700000004446700007777777700000004444670E00077777700000004477
        7770E00077777000000044777770E000077770000000467777770E0000777000
        0000647777770EE00077700000004677777770EE007770000000647777777700
        007770000000667777777770FF0770000000667777777770FF07700000006677
        777777770FF0700000006677777777770FF07000000076777777777770F77000
        000077777777777770F770000000777777777777777770000000777777777777
        777770000000}
    end
    object BtnImprimir: TBitBtn
      Tag = 1
      Left = 161
      Top = 8
      Width = 74
      Height = 25
      Caption = '&Imprimir'
      Enabled = False
      TabOrder = 2
      OnClick = BtnImprimirClick
      Glyph.Data = {
        76050000424D7605000000000000360400002800000012000000100000000100
        08000000000040010000C30E0000C30E00000001000000000000000000008080
        8000000080000080800000800000808000008000000080008000408080004040
        0000FF80000080400000FF00400000408000FFFFFF00C0C0C0000000FF0000FF
        FF0000FF0000FFFF0000FF000000FF00FF0080FFFF0080FF0000FFFF8000FF80
        80008000FF004080FF00C0DCC000F0CAA60060208000C0FFFF00E0E0A0008000
        60008080FF00C0800000FFC0C000FFCF0000FFFF6900E0FFE000B39CDD00EE8F
        B300F96F2A00CDB83F0036844800418C9500425E8E007A62A000AC4F6200BE2F
        1D007666280000450000013E450013286A006A39850085324A00040404000808
        08000C0C0C0011111100161616001C1C1C002222220029292900303030005F5F
        5F00555555004D4D4D0042424200393939000007000000000D008199B700B499
        840090BDBD00607F7F007F606000000E000000001B00000028002B090800001D
        0000000039009B00000000250000000049003B111100002F000000005D004517
        1700003A000011114900531C1C00FF160000FF002B006C212100141459000051
        00006A1A47006732190000610000FF310000FF0061007B20530067431600E22E
        2E001659260004465100492E68008F520700B8186A0015239000FF530000FF00
        A300124A6A006C3375009A414A000B653700152CA400B11F8300FF2C4E00B651
        2000926408000B566F00AD435900127236001733B00000A100001F5F77007147
        89001C43B0007D2DB70095860000236E7A00009F260001A9730000CA0000015B
        AC00C21D2000705294004CAA240089940A007B6E360090754400A800FF00FF71
        0000FF00DF004A915600F84834008232CC007041E40001CA680042BC3600FF9A
        0000B7229600337D85008CB72500ED5A360000FF5C000048FF00A29B22004DCF
        42005258C20095D32000E024A500B556730000A9A9003C6FD000589F67000BCF
        890000ACFF00FE2EA7007F59E20067DC4C00FF18FF00FF7D3A0018D0B10000FF
        C70000E2FF003D9ADF009F815600BA43C6008B71AF00C9A23800CE53D100659A
        FF00DBCA4600FF4DFF006AE9C800E0DE4C00FF98FF0082C0DF00A5ECE900CDF6
        F500FFD0FF005AACB100AE916300654C22003F4E8D0070705000FFFFD000FFE7
        FF00696969007777770086868600969696009D9D9D00A4A4A400B2B2B200CBCB
        CB00D7D7D700DDDDDD00E3E3E300EAEAEA00F1F1F100F8F8F80066C1B20078BF
        8000F0F0C600FFA4B200FFB3FF00A38ED10037DCC300549EA00070AE7600C19E
        7800BF648300D383A400323FD100007DFF0023784400605F24002C0E0E000000
        BE00001FFF00003931003E85D9008577020081D8B0001D21560030000000B3C8
        88000079A0008170EA0069F15100CD749100FF7CFF00FFFFA200F0FBFF00A4A0
        A000537F200029798A00326932007F05EC00AC112F00423FEE000F0E00000000
        00000000000000000000000F00000F0E0101010101010101010101010101000F
        00000E010101010101010101010101010101010000000E0F0F0F0F0F0F0F0F0F
        0F0F0F0F0F0F0F0000000E0F12040F0F0F0F0F0F000F000F000F0F0000000E0F
        0F0E0E0E0E0E0E0E0E0E0E0E0E0E0F0000000E0E0E0F0F0F0F0F0F0F0F0F0F0F
        0F0F0E0E00000F0F0F0E0E0E0E0E0E0E0E0E0E0E0E010F0F00000F0F0F0E0F0F
        0F0F0F0F0F0F0F0F0E010F0F00000F0F0F0E0E0E0E0E0E0E0E0E0E0E0E010F0F
        00000F0F0F0E0F0F0F0F0F0F0F0F0F0F0E010F0F00000F0F0F0E0E0E0E0E0E0E
        0E0E0E0E0E010F0F00000F0F0F0E0F0F0F0F0F0F0F0F0F0F0E010F0F00000F0F
        0F0E0E0E0E0E0E0E0E0E0E0101010F0F00000F0F0F0E0E0E0E0E0E0E0E0E0E01
        0E0F0F0F00000F0F0F0E0E0E0E0E0E0E0E0E0E010F0F0F0F0000}
    end
    object BtnFechar: TBitBtn
      Left = 267
      Top = 8
      Width = 75
      Height = 25
      Caption = '&Fechar'
      TabOrder = 3
      OnClick = BtnFecharClick
      Glyph.Data = {
        76010000424D7601000000000000760000002800000020000000100000000100
        0400000000000001000000000000000000001000000000000000000000000000
        80000080000000808000800000008000800080800000C0C0C000808080000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00330000000000
        03333388888888888F333301111111110333338F333333338F33330111111111
        0333338F333333338F333301111111110333338F333333338F33330111111111
        0333338F333333338F333301111111110333338F333333338F33330111111111
        0333338F3333333F8F333301111111B10333338F333333838F33330111111111
        0333338F333333338F333301111111110333338F33FFFFF38F3333011EEEEE11
        0333338F388888F38F3333011EEEEE110333338F38FFF8F38F3333011EEEEE11
        0333338F388888338F333301111111110333338F333333338F33330111111111
        0333338FFFFFFFFF8F3333000000000003333388888888888333}
      NumGlyphs = 2
    end
  end
  object GBNotaFiscal: TGroupBox
    Left = 0
    Top = 41
    Width = 273
    Height = 56
    Caption = '  Nota Fiscal  '
    Ctl3D = False
    ParentCtl3D = False
    TabOrder = 1
    object Label1: TLabel
      Left = 8
      Top = 22
      Width = 14
      Height = 13
      Caption = 'De'
    end
    object Label2: TLabel
      Left = 105
      Top = 22
      Width = 6
      Height = 13
      Caption = 'a'
    end
    object Label3: TLabel
      Left = 199
      Top = 22
      Width = 24
      Height = 13
      Caption = 'S'#233'rie'
    end
    object EdNota1: TEdit
      Left = 27
      Top = 22
      Width = 70
      Height = 19
      TabOrder = 0
      OnExit = EdNota1Exit
    end
    object EdNota2: TEdit
      Left = 121
      Top = 22
      Width = 70
      Height = 19
      TabOrder = 1
    end
    object EdSerie: TEdit
      Left = 228
      Top = 22
      Width = 33
      Height = 19
      TabOrder = 2
    end
  end
  object DblConfiguracaoImpressao: TDBLookupComboBox
    Left = 4
    Top = 116
    Width = 341
    Height = 19
    Ctl3D = False
    KeyField = 'IN_CONFIGURA_IMPRESSAO_ID'
    ListField = 'VA_DESCRICAO'
    ListSource = DSConfiguracaoImpressao
    ParentCtl3D = False
    TabOrder = 3
    OnKeyDown = DblConfiguracaoImpressaoKeyDown
  end
  object Panel1: TPanel
    Left = 0
    Top = 284
    Width = 350
    Height = 23
    Align = alBottom
    Font.Charset = ANSI_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'Times New Roman'
    Font.Style = [fsBold]
    ParentFont = False
    TabOrder = 4
    object LbRegistros: TLabel
      Left = 7
      Top = 5
      Width = 62
      Height = 13
      Caption = 'LbRegistros'
    end
  end
  object DBGrid1: TDBGrid
    Left = 4
    Top = 141
    Width = 341
    Height = 141
    TabStop = False
    Ctl3D = False
    DataSource = DSPesquisa
    Font.Charset = ANSI_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'Times New Roman'
    Font.Style = []
    Options = [dgEditing, dgTitles, dgIndicator, dgColumnResize, dgColLines, dgTabs, dgConfirmDelete, dgCancelOnExit]
    ParentCtl3D = False
    ParentFont = False
    ReadOnly = True
    TabOrder = 5
    TitleFont.Charset = ANSI_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'Times New Roman'
    TitleFont.Style = []
    Columns = <
      item
        Alignment = taCenter
        Expanded = False
        FieldName = 'NF_NUMERONF'
        Title.Alignment = taCenter
        Title.Caption = 'N'#250'mero NF'
        Title.Font.Charset = ANSI_CHARSET
        Title.Font.Color = clWindowText
        Title.Font.Height = -11
        Title.Font.Name = 'Times New Roman'
        Title.Font.Style = [fsBold]
        Visible = True
      end
      item
        Alignment = taCenter
        Expanded = False
        FieldName = 'NF_SERIENF'
        Title.Alignment = taCenter
        Title.Caption = 'S'#233'rie NF'
        Title.Font.Charset = ANSI_CHARSET
        Title.Font.Color = clWindowText
        Title.Font.Height = -11
        Title.Font.Name = 'Times New Roman'
        Title.Font.Style = [fsBold]
        Visible = True
      end
      item
        Expanded = False
        FieldName = 'CR_VALOR'
        Title.Alignment = taRightJustify
        Title.Caption = 'Valor'
        Title.Font.Charset = ANSI_CHARSET
        Title.Font.Color = clWindowText
        Title.Font.Height = -11
        Title.Font.Name = 'Times New Roman'
        Title.Font.Style = [fsBold]
        Width = 75
        Visible = True
      end
      item
        Alignment = taCenter
        Expanded = False
        FieldName = 'CR_DATAVENCIMENTO'
        Title.Alignment = taCenter
        Title.Caption = 'Vencimento'
        Title.Font.Charset = ANSI_CHARSET
        Title.Font.Color = clWindowText
        Title.Font.Height = -11
        Title.Font.Name = 'Times New Roman'
        Title.Font.Style = [fsBold]
        Width = 90
        Visible = True
      end>
  end
  object RxCDesconto: TRxCalcEdit
    Left = 280
    Top = 63
    Width = 66
    Height = 19
    AutoSize = False
    Ctl3D = False
    DisplayFormat = '0.,00'
    ButtonWidth = 0
    NumGlyphs = 2
    ParentCtl3D = False
    TabOrder = 2
  end
  object DsConfiguracao: TDataSource
    DataSet = QueryItensCofig
    Left = 32
    Top = 216
  end
  object QueryItensCofig: TQuery
    DatabaseName = 'base'
    Left = 272
    Top = 176
  end
  object DSPesquisa: TDataSource
    AutoEdit = False
    DataSet = QPesquisa
    Left = 240
    Top = 192
  end
  object QPesquisa: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      'sELECT'
      '      CLIENTE.CLI_CODIGO,'
      '      CLIENTE.CLI_RAZAO,'
      '      CLIENTE.CLI_INSCESTADUAL,'
      '      CLIENTE.CLI_INSCMUNICIPAL,'
      '      CLIENTE.CLI_FONE,'
      '      CLIENTE.CLI_FAX,'
      '      CLIENTE.CLI_EMAIL,'
      '      CLIENTE.CLI_ENDERECOCORRESP,'
      '      CLIENTE.CLI_BAIRROCORRESP,'
      '      CLIENTE.CLI_CEPCORRESP,'
      '      CLIENTE.CLI_CIDADECORRESP,'
      '      CLIENTE.CLI_ESTADOCORRESP,'
      '      CLIENTE.CLI_ENDERECOPEDIDO,'
      '      CLIENTE.CLI_BAIRROPEDIDO,'
      '      CLIENTE.CLI_CEPPEDIDO,'
      '      CLIENTE.CLI_CIDADEPEDIDO,'
      '      CLIENTE.CLI_ESTADOPEDIDO,'
      '      CLIENTE.CLI_CPFCNPJ,'
      '      NOTAFISCALVENDA.*,'
      '      PRESTACAOCOBRANCA.PRESTCOB_CODIGO,'
      '      PRESTACAOCOBRANCA.PRESTCOB_VALOR AS CR_VALOR,'
      '      PRESTACAOCOBRANCA.PRESTCOB_VALOR AS EXTENSO1,'
      '      PRESTACAOCOBRANCA.PRESTCOB_VALOR AS EXTENSO2,'
      '      PRESTACAOCOBRANCA.PRESTCOB_DATAVENCIMENTO AS DATA_EMISSAO,'
      
        '      PRESTACAOCOBRANCA.PRESTCOB_DATAVENCIMENTO AS CR_DATAVENCIM' +
        'ENTO'
      ''
      '      FROM NOTAFISCALVENDA'
      ''
      '      INNER JOIN CLIENTE ON'
      '            (CLIENTE.CLI_CODIGO = NOTAFISCALVENDA.NF_CLIENTE)'
      ''
      '      INNER JOIN COBRANCA ON'
      
        '            ((COBRANCA.COB_NUMERO = NOTAFISCALVENDA.NF_CODIGO) A' +
        'ND'
      '            (COBRANCA.COB_TIPO = 2))'
      ''
      '      INNER JOIN PRESTACAOCOBRANCA ON'
      
        '            (PRESTACAOCOBRANCA.PRESTCOB_COBRANCA = COBRANCA.COB_' +
        'CODIGO)'
      ''
      '      WHERE'
      
        '           (NOTAFISCALVENDA.NF_NUMERONF BETWEEN 16856 AND 16856)' +
        ' AND'
      '           (NOTAFISCALVENDA.NF_SERIENF = '#39'1'#39') AND'
      '           (NOTAFISCALVENDA.NF_SITUACAO = 1)'
      '      ORDER BY'
      ''
      '      PRESTACAOCOBRANCA.PRESTCOB_CODIGO')
    Left = 120
    Top = 224
  end
  object QConfiguraImpressao: TQuery
    DatabaseName = 'base'
    Left = 216
    Top = 208
  end
  object DSConfiguracaoImpressao: TDataSource
    DataSet = QConfiguraImpressao
    Left = 56
    Top = 160
  end
end
